package org.tom.user.mapper;

import org.tom.basic.mapper.BaseMapper;
import org.tom.org.domain.Employee;
import org.tom.user.domain.Logininfo;
import org.tom.user.dto.LoginDto;

import java.util.List;

public interface LogininfoMapper extends BaseMapper<Logininfo> {


    void patchDelete(List<Long> ids);

    Logininfo findByUser(String username);

    Logininfo findByUsernameAndType(LoginDto loginDto);

    Logininfo findByUser_id(Long user_id);
}
